#include<stdio.h>
#pragma once  
#define SIZE 1024
#define FLUSH_NONE 0
#define FLUSH_LINE 1
#define FLUSH_ALL 2
 struct IO_FILE
{
 int flag;
 int cap;
 int size ;
 char outbuffer[SIZE];
 int fileno;
};
typedef struct IO_FILE mFILE ;
mFILE *mfopen(const char *filename, const char *mode);
int mfwrite(const void *ptr, int num, mFILE *stream);
void mfflush(mFILE *stream);
void myclose(mFILE* stream);
